﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace D.Medicalcare.Domain.Entities
{
    /// <summary>
    /// 预约挂号表
    /// </summary>
   public class Registration
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        public int RegistrationId { get; set; }
        /// <summary>
        /// 就诊人
        /// </summary>
        public int PatientId { get; set; }
        /// <summary>
        /// 医生
        /// </summary>
        public int DoctorId { get; set; }
        /// <summary>
        /// 挂号类型
        /// </summary>
        public string? RegistrationType { get; set; }
        /// <summary>
        /// 挂号状态
        /// </summary>
        public string? Statue { get; set; }
        /// <summary>
        /// 预约时间（年月日时分秒）
        /// </summary>
        public DateTime? RegistrationTime {  get; set; }
    
        /// <summary>
        /// 候诊时间（时分）
        /// </summary>
        public string? Mtime { get; set; }
        /// <summary>
        /// 就诊日期（年月日）
        /// </summary>
        public string? WaitTime { get; set; }
        /// <summary>
        /// 取消时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }
        /// <summary>
        /// 取消原因
        /// </summary>
        public string? UpdateReson { get; set; }


    }
}
